home *** CD-ROM | disk | FTP | other *** search
- Path: news.wyoming.com!usenet
- From: dcromley@wyoming.com (Dave Cromley)
- Newsgroups: comp.lang.c++
- Subject: Re: HELP! Compile Error!
- Date: 6 Mar 1996 21:24:40 GMT
- Organization: wyoming.com LLC
- Message-ID: <4hkvqo$rra@horn.wyoming.com>
- References: <4hi7vc$ggd@newsbf02.news.aol.com> <NEWTNews.12980.826064244.hampton@interramp.com>
- NNTP-Posting-Host: cys-cap-6.wyoming.com
- Mime-Version: 1.0
- X-Newsreader: WinVN 0.99.2
-
- MrBig wrote:
-
- > SORT.CPP 7: Declaration terminated incorrectly :
- > #include<conio.h>
- > #include<stdio.h>
- > #include<stdlib.h>
- > #include<time.h>
- > #include<string.h>
- > { main()
- > randomize(num1);
- > if (strcmp(num1==<num2))
- > ..
-
- You need main() { instead.
- You probably need:
- int num1;
- num1 = random();
- You probably need:
- if (strcmp(num1, nuum2)) {
-
- Dave C.
-
-